package com.hskj.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/*
* springboot的应用程序
* 在该类上标注SpringBootAppLication注解，说明该程序是一个springboot的程序
* 标的是该类是一个SpringBootAppLication的启动类
 * */

/*
* 该注解经常会用于扫描mapper接口所在路径
* @ComponentScan("")
 * */
@SpringBootApplication
@MapperScan("com.hskj.springboot.mapper")
public class Day01Springboot02QuickApplication {

    public static void main(String[] args) {
        SpringApplication.run(Day01Springboot02QuickApplication.class, args);
    }

}
